.PHONY:all
all: exec cmd tmp

exec:exec.c
	gcc -o $@ $^
cmd:cmd.c
	gcc -o $@ $^
tmp:tmp.c
	gcc -o $@ $^

.PHONY:clean
clean:
	rm -f exec cmd tmp

